package com.topnav.mc.admin.entity.bean;

import com.topnav.mc.admin.entity.Fence;
import com.topnav.mc.admin.entity.enums.FencePolygonType;
import lombok.Data;

/**
 * @Author: kenny
 * @Date: 2023/11/13 10:29
 */
@Data
public class FenceBean extends Fence {

    private String orgCode;
    private String orgName;
    private String shortName;
    private String path;
    private String fenceTypeDesc;

    public String getFenceTypeDesc(){
        return FencePolygonType.getDescByCode(this.getFenceType());
    }
}
